package com.duobaoyu.dby.supply.db.entity.refund;

import com.baomidou.mybatisplus.annotation.*;
import com.duobaoyu.dby.common.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 售后图片记录
 *
 * @author LY
 * @email 249007302@qq.com
 * @date 2023-09-14 17:16:47
 */
@EqualsAndHashCode(callSuper = true)
@TableName("scb_after_sale_image")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
@ApiModel(value = "售后图片记录")
public class AfterSaleImage extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	/**
	 * 图片地址
	 */
	@ApiModelProperty(value = "图片压缩")
	private String imageHash;
	/**
	 * 图片地址
	 */
	@ApiModelProperty(value = "图片地址")
	private String image;
	/**
	 * 版本号-用作乐观锁
	 */
	@Version
	@ApiModelProperty(value = "版本号-用作乐观锁")
	private Integer version;
	/**
	 * 是否删除 0-否 1-是
	 */
	@TableLogic(value = "0",delval = "1")
	@ApiModelProperty(value = "是否删除 0-否 1-是")
	private Integer delFlag;


}
